﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Model_Layer
{
    [DataContract]
    public class Passenger : Person
    {
        private string passportNo;

        public Passenger() { }

        public Passenger(string passportNo, string fname, string lname, string paddress, string dateOfBirth, string gender, bool ispassFlag, bool isCusFlag) :
            base(fname, lname, paddress, dateOfBirth, gender, ispassFlag, isCusFlag)
        { }

        [DataMember]
        public string PassportNo
        {
            get { return passportNo; }
            set { passportNo = value; }
        }
    }
}


